import { useEffect } from 'react'
import { useDispatch } from 'react-redux'
import { fetchAllHotFeedsAction } from '../../features/hotfeeds/hotfeedsSlice'

export default function HotFeeds() {
  const dispatch = useDispatch()
  useEffect(() => {
    dispatch(fetchAllHotFeedsAction())
  }, [dispatch])

  return <div>hot feeds</div>
}
